package code19_工厂模式;

import entity.User;

/**
 * @author 黄衡熙
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        User user=(User) ObjectFactory.getObject("User");
        System.out.println(user.toString());
    }
}
